package com.sry.blog.sys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sry.blog.sys.model.Content;

import java.util.List;

/**
 * <p>
 * InnoDB free: 10240 kB; (`article_id`) REFER `blog/article`(`id`) ON UPDATE CASCA 服务类
 * </p>
 *
 * @author SR_Y
 * @since 2022-01-05
 */
public interface ContentService extends IService<Content> {

    boolean creatOrUpdate(Content content);

    Content getOne(Content content);

    List<Content> list(Content content);

    Page<Content> getCommentTable(Content comment,Integer pageNum, Integer pageSize);
}
